<?php
$cs = Yii::app()->getClientScript();
$baseUrl = Yii::app()->request->baseUrl;
$cs->registerCssFile($baseUrl . '/css/home.css');
?>
<div id="featured">
    <?php
    if (count($fproducts)) {
        $this->renderPartial('application.views.layouts.featured-products', array('fproducts' => $fproducts));
    }
    ?>
</div><!-- featured products -->

<div id="newest">
    <div class="content-section">
        <div class="gradient">
            <div class="title">
                <span><?php echo Yii::t('default', 'Newest Products') ?></span>
            </div>
            <div class="content">
                <?php
                $this->renderPartial('application.views.product.list', $newestData);
                ?>
            </div>
        </div>
    </div>
</div>